﻿using LJX.SmartPark.Common.ResponseOutput;
using LJX.SmartPark.Domain.Area;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LJX.SmartPark.Service.Area
{
    public interface IMonitorConfigService
    {
        Task<Response<List<MonitorConfig>>> GetMonitorConfigAsync(MonitorConfigForm monitor);
        Response<MonitorConfig> GetMonitorConfigById(MonitorConfig input);
        Task<Response<bool>> PostAddMonitorConfig(MonitorConfig input);
        Task<Response<bool>> DeleteByIdAsync(MonitorConfig input);
        Task<Response<bool>> DeleteAllAsync(params MonitorConfig[] input);
        Task<Response<bool>> PutUpdateMonitorConfig(MonitorConfig input);
    }

    public class MonitorConfigForm
    {
        public int pageIndex { get; set; }

        public int pageSize { get; set; }
    }
}
